<!--
 * @Author: zhangxiangsheng 1026583651@qq.com
 * @Date: 2024-04-07 14:48:25
 * @LastEditors: 花香蝶自来 1026583651@qq.com
 * @LastEditTime: 2024-05-28 18:53:46
 * @FilePath: \crm\pagesecharts\index\components\card1.vue
 * @Description: 
 * 
 * Copyright (c) 2024 by ${git_name_email}, All Rights Reserved. 
-->
<!--
 * @Author: zhangxiangsheng 1026583651@qq.com
 * @Date: 2024-04-07 14:48:25
 * @LastEditors: 花香蝶自来 1026583651@qq.com
 * @LastEditTime: 2024-04-08 18:45:08
 * @FilePath: \crm\pages\index\components\card1.vue
 * @Description: 
 * 
 * Copyright (c) 2024 by ${git_name_email}, All Rights Reserved. 
-->
<template>
  <view class="card" @click="cardtap">
    <view @click.stop style="margin-bottom: 16rpx;">
      <!-- :show="show" -->

      <u-calendar-index ref="calenda" :showTitle="false" :showSubtitle="false" :listNumber="1"
        @change="change"></u-calendar-index>
    </view>
    <rllist :list="list"></rllist>
  </view>
</template>

<script>
// import dayjs from "@/uni_modules/uview-ui/libs/util/dayjs.js";
import rllist from "./rllist.vue";
export default {
  components: {
    rllist,
  },
  data() {
    return {
      list: []
    };
  },
  computed: {

  },
  mounted() {
    this.init();
  },
  methods: {
    change(list) {
      console.log(list, "listlist");
      this.list = list;
    },
    init() { },
    cardtap() {
      uni.navigateTo({
        url: "/pagesCalendar/calendar/calendar",
      });
    },
  },
};
</script>

<style lang="scss" scoped>
.card {
  margin: 14rpx 18rpx;
  background-color: #fff;
  border-radius: 8rpx;
  padding: 0 24rpx;
  // padding-bottom: 16rpx;
  padding-bottom: 8rpx;
}
</style>
